package model;

import java.util.GregorianCalendar;

public interface MessageInterface extends PersistentInterface
{
	public int getId();
	
	public UserInterface getFrom();
	
	public void setTo(UserInterface to);
	
	public UserInterface getTo();
	
	public String getSubject();
	
	public void setSubject(String subject);
	
	public void setContents(String contents);
	
	public String getContents();

	public void setDate(GregorianCalendar date);
	
	public GregorianCalendar getDate();
	
	public boolean check();
}